package com.efast.cafe.portal.service.base.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.efast.cafe.framework.service.CafeServiceImpl;
import com.efast.cafe.portal.dao.base.BaseDistrictDao;
import com.efast.cafe.portal.entity.base.BaseDistrict;
import com.efast.cafe.portal.remote.base.BaseDistrictService;
import com.efast.cafe.portal.service.base.IBaseDistrictService;

@Service
@Transactional
public class BaseDistrictServiceImpl extends CafeServiceImpl<BaseDistrict> implements IBaseDistrictService {

	
	private BaseDistrictDao  baseDistrictDao;
	
	
	
	@Autowired
	public void setBaseDistrictDao(BaseDistrictDao baseDistrictDao) {
		this.baseDistrictDao = baseDistrictDao;
	}



	/**
	 * 通过城市查询区列表
	 * @Date        :      2016年11月30日
	 * @param cityID
	 * @return
	 */
	@Override
	public List<BaseDistrict> queryAllDistrictByCity(String cityID) {
		return baseDistrictDao.queryAllDistrictByCity(cityID);
	}

}
